package com.example.covid19.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author BaiZhengChun
 * @since 2023-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("administrateur")
@ApiModel(value="Administrateur对象", description="")
public class Administrateur implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "自增主键")
    private Integer id;

    @ApiModelProperty(value = "管理员账号")
    private Integer admid;

    @ApiModelProperty(value = "管理员密码")
    private String password;

    @ApiModelProperty(value = "权限id")
    private Integer pid;

    @ApiModelProperty(value = "管理员名")
    private String name;

    private Integer xid;


}
